<?php
namespace app\serverfund\service\integral;

use \app\manage\service\ApiBase;
/**
 * @author:      李颖
 * @DateTime:    2017-06-29 09:37:51
 * @Description: 积分冻结日志
 */
class IntegralFreezeLog extends ApiBase
{
    protected $integralFreezeLogValidate = '\app\serverfund\validate\IntegralFreezeLog';
    protected $integralFreezeLogLogic = '\app\serverfund\logic\IntegralFreezeLog';

    // 获取积分冻结日志(分页)
    public function list(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'keywords'=>'', 'startTime'=>'', 'endTime'=>'', 'type'=>'']);
        return $this->stepRun($data, 'list', 'list');
    }

    // 获取某些user_ids的的积分冻结日志(分页)
    public function listByUserIds(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'user_ids'=>' ']);
        return $this->stepRun($data, 'listByUserIds', 'listByUserIds');
    }

}